package com.crazypos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_role")
public class RoleEntity extends BaseEntity{

    @TableId(value="id",type= IdType.ASSIGN_UUID)
    private String id;

    @TableField("name")
    private String name;

    @TableField("organization_id")
    private String organizationId;

    @TableField("created_by")
    private String createdBy;

    @TableField("can_delete")
    private Integer canDelete;

}
